<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="springform" uri="http://www.springframework.org/tags/form"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@	taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="/WEB-INF/views/webPart/head.jsp"></jsp:include>
<title>文章 - 呵Sever</title>
</head>
<body>
	<jsp:include page="/WEB-INF/views/webPart/top.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/views/webPart/left.jsp"></jsp:include>
	<div class="mycol col-md-9 col-xs-11">
				<div class="main">
					<ol class="breadcrumb">
						<li><a href="${context }/">首页</a></li>
						<li class="active">文章</li>
					</ol>
					<c:forEach items="${page.content }" var="item">
						<div class="mainItem">
							<a href="${context }/pub/article/view/${item.id}" class="title">${item.title }</a>
							<div class="articleMain">
							${contentMap[item.id][0] } <a href="${context }/pub/article/view/${item.id}">【阅读全文】</a>
							</div>
							<div class="articleFooter mycontainer container-fluid">
								<div class="row-fluid">
									<div class="mycol col-md-6 col-xs-6">标签：
									<c:forEach items="${contentMap[item.id][1] }" var="tag">
										<a href="#" class="tag">${tag.name }</a>
									</c:forEach>
									</div>
									<div class="mycol col-md-6 col-xs-6" align="right"> 
									发表于<fmt:formatDate value="${item.createDate }" pattern="yyyy/MM/dd HH:mm:ss"/>
									热度：${item.hot }℃ 评论(${item.reviewNum })</div>
								</div>
							</div>
						</div>
					</c:forEach>
					<jsp:include page="/WEB-INF/views/webPart/page.jsp"></jsp:include>
				</div>
			</div>
	<jsp:include page="/WEB-INF/views/webPart/right.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/views/webPart/footer.jsp"></jsp:include>
</body>
</html>